/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.siteproduct.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.siteproduct.entity.SiteProduct;
import com.thinkgem.jeesite.modules.siteproduct.dao.SiteProductDao;

/**
 * 产品生成Service
 * @author thinkgem
 * @version 2017-08-07
 */
@Service
@Transactional(readOnly = true)
public class SiteProductService extends CrudService<SiteProductDao, SiteProduct> {

	public SiteProduct get(String id) {
		return super.get(id);
	}
	
	public List<SiteProduct> findList(SiteProduct siteProduct) {
		return super.findList(siteProduct);
	}
	
	public Page<SiteProduct> findPage(Page<SiteProduct> page, SiteProduct siteProduct) {
		return super.findPage(page, siteProduct);
	}
	
	@Transactional(readOnly = false)
	public void save(SiteProduct siteProduct) {
		super.save(siteProduct);
	}
	
	@Transactional(readOnly = false)
	public void delete(SiteProduct siteProduct) {
		super.delete(siteProduct);
	}
	
}